/* === SELECTORES CON BORDE Y PROFUNDIDAD PARA QUE SEAN INTUITIVOS === */
#product-variant, 
#product-fragancia {
    width: 100%;
    padding: 14px 45px 14px 15px; /* Más espacio a la derecha para la flecha */
    border-radius: 12px;
    border: 2px solid #cbd5e1; /* Gris medio que se nota claramente */
    background-color: #ffffff;  /* Fondo blanco puro para resaltar */
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    appearance: none; 
    
    /* Flecha azul más llamativa */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230099ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Sutil sombra hacia abajo */
    margin-top: 8px;
}

/* Efecto cuando el cliente hace clic o pasa el mouse */
#product-variant:hover, 
#product-fragancia:hover {
    border-color: var(--primary); /* El borde se vuelve azul */
    background-color: #f0f9ff;
}

#product-variant:focus, 
#product-fragancia:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.15); /* Brillo azul de enfoque */
}
/* === ESTILOS DEL MODAL DE CONFIRMACIÓN === */
.checkout-header {
    text-align: center;
    margin-bottom: 25px;
}

.checkout-header h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.checkout-header p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Pasos del proceso */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-light);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.step-item {
    text-align: center;
    flex: 1;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.step-item p {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.step-arrow {
    color: var(--primary);
    font-weight: bold;
}

/* Formulario Moderno */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-container label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #475569;
}

.modern-form input {
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.modern-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

/* Caja de información de pago */
.payment-info-box {
    background: #fff9eb;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    margin: 10px 0;
}

.payment-info-box p {
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.4;
}

.cta-button-whatsapp {
    background: #25D366; /* Verde WhatsApp */
    color: white;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.cta-button-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    /* 1. Header Fijo con mayor altura para contener todo */
    header {
        padding: 10px 4%;
        height: auto; /* Deja que crezca según el contenido */
        flex-direction: column; /* Apila logo arriba y buscador abajo */
        gap: 8px;
        position: fixed;
        top: 0;
        width: 100%;
        background: white;
        z-index: 2000;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    }

    /* Ajuste para el logo y el carrito en la misma línea */
    .logo-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 2. Barra de búsqueda y filtro: Siempre arriba */
    .search-filter {
        position: relative; /* Ya no es flotante abajo */
        bottom: 0;
        left: 0;
        width: 100%; /* Ocupa todo el ancho */
        display: flex;
        gap: 8px;
        padding: 8px 12px;
        background: #f1f5f9;
        border-radius: 12px;
        box-shadow: none;
        border: 1px solid var(--border);
    }

    /* 3. Empujar el contenido hacia abajo para que no lo tape el header */
    body {
        padding-top: 135px; /* Ajusta este valor según cuánto mida tu header final */
    }

    /* Ajuste del Hero para que no quede pegado */
    #hero {
        margin-top: 10px;
        min-height: 40vh;
        border-radius: 0 0 25px 25px;
    }

    /* Grilla de productos (2 columnas) */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }

    /* Carrito a pantalla completa */
    .cart-sidebar {
        width: 100%;
        z-index: 3000;
    }
}